import hyRequest from './index'

export function getTopMVs(offset, limit = 10) {
	return hyRequest.get('/top/mv', { offset, limit })
}

export function getMVDetail(mvid) {
	return hyRequest.get('/mv/detail', { mvid })
}

export function getMVUrl(id) {
	return hyRequest.get('/mv/url', { id, r: 1080 })
}

export function getRelatedVideo(id) {
	return hyRequest.get('/related/allvideo', { id })
}
